package com.yxt.common.exception;

import lombok.Data;

@Data
public class UserNameAndPasswordException extends RuntimeException{
    private Integer code;

    public UserNameAndPasswordException(BizCodeEnume resultEnum) {
        super(resultEnum.getMsg());
        this.code = resultEnum.getCode();
    }
}

